package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 护理任务取消DTO
 */
@Data
@ApiModel("护理任务取消DTO")
public class NursingTaskCancelDto {

    /**
     * 护理任务ID
     */
    @NotNull(message = "护理任务ID不能为空")
    @ApiModelProperty(value = "护理任务ID", required = true)
    private Long taskId;

    /**
     * 取消原因
     */
    @NotBlank(message = "取消原因不能为空")
    @ApiModelProperty(value = "取消原因", required = true)
    private String reason;
}
